package com.demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author
 * @Description
 * @Date
 * @Param
 * @return
 **/
@ApiModel(description= "请求报文体信息")
@Data
public class LoginRequestDTO {
    /**
     * 工单号
     */
    @ApiModelProperty(value = "账号", required = true, dataType = "String")
    @NotBlank(message = "username不能为空")
    private String username;

    /**
     * 资产端商户编号
     */
    @ApiModelProperty(value = "密码", required = true, dataType = "String")
    @NotBlank(message = "password不能为空")
    private String password;

}
